
CC ?= gcc
LD ?= ld 		
CFLAGS := -g -Wall -O0 

SOBJS := 1_ser.o linknode.o 

all:server

server:$(SOBJS)
	$(CC) $^ -o $@ -lsqlite3 -lpthread

%.o:%.c
	$(CC) $(CFLAGS) -o $@ -c $< 

.PHONY:clean
clean:
	rm server *.o 


